<% if has_logined_by_user? %>
<ul class="contacts">
<% @hot_posts.each do |hot_post| %>
  <li class="contact"><div class="value"><%= hot_post.title %></div><div class="remark"><% if hot_post.current_user_follow_setting %><span class='informal'><span>阅至<b><%= number_with_precision hot_post.current_user_follow_setting.read_schedule_percent, :precision => 2 %>%</b></span></span><% end %></div></li>
<% end %>
  <li class="contact"><div class='stat'>共查出<b><%= @hot_posts.total_entries %></b>条记录</div></li>
</ul>
<% else %>
<ul class="contacts">
<% @hot_posts.each do |hot_post| %>
  <li class="contact"><div class="value"><%= hot_post.title %></div></li>
<% end %>
  <li class="contact"><div class='stat'>共查出<b><%= @hot_posts.total_entries %></b>条记录</div></li>
</ul>
<% end %>